package com.geekhalo.user.infra.basic;


import com.geekhalo.user.domain.basic.BasicUser;
import com.geekhalo.user.domain.basic.BasicUserCommandRepository;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository("basicUserCommandRepository")
public interface JpaBasedBasicUserCommandRepository extends BasicUserCommandRepository,JpaRepository<BasicUser, Long> {
    @Override
    default BasicUser sync(BasicUser agg){
        return save(agg);
    }


}
